package com.bigdata.booklibraryseatapi.service;

import com.bigdata.booklibraryseatapi.common.pojo.PageResult;
import com.bigdata.booklibraryseatapi.entity.Area;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bigdata.booklibraryseatapi.vo.req.AddAreaReqVO;
import com.bigdata.booklibraryseatapi.vo.req.EditAreaReqVO;
import com.bigdata.booklibraryseatapi.vo.req.PageAreaReqVO;
import com.bigdata.booklibraryseatapi.vo.resp.AreaListRespVO;
import com.bigdata.booklibraryseatapi.vo.resp.PageAreaRespVO;

import java.util.List;

/**
 * <p>
 * 区 服务类
 * </p>
 *
 * @author book
 * @since 2023-12-13
 */
public interface IAreaService extends IService<Area> {


    void addArea(AddAreaReqVO vo);
    void editArea(EditAreaReqVO vo);

    List<AreaListRespVO> getAreaList();

    PageResult<PageAreaRespVO> pageArea(PageAreaReqVO vo);

}
